//
//  NSArray+lvfj.m
//  lvfj
//
//  Created by lvfeijun on 2021/12/13.
//  Copyright © 2021 Goudu KuaiEx Technology(Shenzhen)Co.,ltd. All rights reserved.
//

#import "NSArray+lvfj.h"

@implementation NSArray (lvfj)

+(BOOL)lvfj_isEmptyArray:(NSArray *)array{
    return ![array isKindOfClass:NSArray.class]||array.count<1;
}

+(instancetype)lvfj_emptyArrayReplaceNil:(NSArray *)array{
    return [self  lvfj_isEmptyArray:array]?@[]:array;
}

@end
